package com.shwread.android.ui.dialog;

import android.content.Context;
import android.view.View;
import android.widget.Button;


public class DeleteAddressDialog
        extends
        CommonDialog
{
	private DialogCommonOkListenet listener;
	
	public DeleteAddressDialog(Context context, DialogCommonOkListenet listener) {
		super(context);
		this.listener = listener;
		tvText.setText("确认删除此收货地址");
		((Button) vCancel).setText("取消");
	}
	
	@Override
	protected void clickOk(View v) {
		super.clickOk(v);
		listener.clickOk();
	}
	
	@Override
	protected void clickCancel(View v) {
		this.dismiss();
	}
	
}
